package com.woniuxy.staffservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.staffservice.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService extends IService<User> {
    void add(User user);

    List<User> getByCondition(Integer deptid, String deptname, String name, String address
            , Integer index, Integer limit);

    List<User> getByDeptId(Integer deptid);

    void deleteById(int id);
}
